package com.jobLink.quartz.task;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Description:
 * Author:    Dane
 * CreateTime:2025/1/8-下午8:08
 * Since  :   1.0
 * Version:   1.0
 */
@Component
public class MyTask {

    public void showTime(){
        System.out.println("执行定时任务"+new Date());
    }
}
